// 自动生成模板UserOrderPay
package model

import (
	"gin-vue-admin/global"
)

// 如果含有time.Time 请自行import time包
type UserOrderPay struct {
      global.GVA_MODEL
      DoneUser  int `json:"doneUser" form:"doneUser" gorm:"column:done_user;comment:操作人;type:int;size:10;"`
      GetName  string `json:"getName" form:"getName" gorm:"column:get_name;comment:收款方;type:varchar(255);"`
      Money  float64 `json:"money" form:"money" gorm:"column:money;comment:金额（元）;type:decimal;size:10,2;"`
      Number  int `json:"number" form:"number" gorm:"column:number;comment:期数;type:int;size:10;"`
      OrderId  int `json:"orderId" form:"orderId" gorm:"column:order_id;comment:订单号;type:int;size:10;"`
      PayName  string `json:"payName" form:"payName" gorm:"column:pay_name;comment:付款方;type:varchar(255);"`
      PayPic  string `json:"payPic" form:"payPic" gorm:"column:pay_pic;comment:图片凭证;type:varchar(255);"`
      PayTime  string `json:"payTime" form:"payTime" gorm:"column:pay_time;comment:支付时间;type:varchar(255);"`
      SysUser SysUser ` json:"sys_user"  gorm:"foreignKey:ID;references:DoneUser"`
}


func (UserOrderPay) TableName() string {
  return "user_order_pay"
}

